package com.init.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.init.model.dto.CategoriesDto;
import com.init.model.entity.Categories;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Atanycosts
* @description 针对表【categories(存储大标题信息)】的数据库操作Service
* @createDate 2025-01-05 16:11:38
*/
public interface CategoriesService extends IService<Categories> {

    /**
     * 分页查询
     *
     * @param page
     * @param pageSize
     * @param title
     * @return
     */
    Page queryPage(int page, int pageSize, String title);


    /**
     * 根据ID查询详细数据   ---封装
     */
    CategoriesDto queryDetail(String categoriesId);
}
